import request from '@/utils/request'

export function listsceneHead(query) {
  return request({
    url: '/material/sceneHead/list',
    method: 'get',
    params: query
  })
}

export function createsceneHead(data) {
  return request({
    url: '/material/sceneHead/create',
    method: 'post',
    data
  })
}

export function readsceneHead(data) {
  return request({
    url: '/material/sceneHead/get/' + data.id,
    method: 'get'
  })
}

export function updatesceneHead(data) {
  return request({
    url: '/material/sceneHead/update',
    method: 'post',
    data
  })
}

export function deletesceneHead(data) {
  return request({
    url: '/material/sceneHead/delete/' + data.fsceneno,
    method: 'delete'
  })
}
